<!--#include("hub_header_ca.html")-->
	<!-- .pxeBody -->
	<div class="pxeBody">
		<div class="pxeContent">
			<div class="pxeH">
				<h2>{$lang->all_project_list} <em>{$page_navigation->total_count}</em> {$lang->page}</h2>
				<div class="filter">
					<div class="select" style="width:200px;">
						<span class="ctrl"><span class="arrow"></span></span>
						<button type="button" class="myValue">{$lang->summary_sort_order[$sort_order]}</button>
						<ul class="aList">
							<!--@foreach($lang->summary_sort_order as $key=>$title)-->
							<li><a href="{getUrl('page','','sort_order',$key)}">{$title}</a></li>
							<!--@end-->
						</ul>
					</div>
				</div>
			</div>
			<table border="1" cellspacing="0" class="pxeT">
				<thead>
					<tr>
						<th scope="col" class="title"><span>{$lang->project_list}</span></th>
						<th scope="col" class="sort"><span>{$lang->activity_point}</span></th>
						<th scope="col"><span>{$lang->project_member_count}</span></th>
						<th scope="col"><span>{$lang->created_date}</span></th>
					</tr>
				</thead>
				<tbody>
                    <!--@if($page_navigation->total_count == 0)-->
					<tr>
						<td colspan="4" class="pxeNoData">
							<p>{$lang->no_all_project}</p>
						</td>
					</tr>
                    <!--@else-->
					<!--@foreach($project_list as $project)-->
					<tr>
						<td class="project">
							<a href="{getSiteUrl($project->domain)}">{$project->project_title}</a><br />
							{$project->project_description}
						</td>
						<td class="num sort">{$project->point}</td>
						<td class="num">{$project->member_count}</td>
						<td class="num">{zdate($project->regdate, "Y.m.d")}</td>
					</tr>
					<!--@endforeach-->
                    <!--@endif-->
				</tbody>
			</table>
            <!--@if($page_navigation)-->
			<div class="pagination">
                <!--@if($page_navigation->cur_page>1)--><a class="direction" href="{getUrl('page',1)}">&lsaquo; FIRST</a><!--@end-->
                <!--@if($page_navigation->cur_page>1)--><a class="direction" href="{getUrl('page',$page_navigation->cur_page-1)}">&lsaquo; PREV</a><!--@end-->
                <!--@while($page_no = $page_navigation->getNextPage())-->
                    <!--@if($page == $page_no)-->
                    <strong>{$page_no}</strong>
                    <!--@else-->
                    <a href="{getUrl('page',$page_no,'document_srl','','division',$division,'last_division',$last_division)}">{$page_no}</a>
                <!--@end-->
                <!--@end-->
                <!--@if($page_navigation->cur_page<$page_navigation->total_page)--><a class="direction" href="{getUrl('page',$page_navigation->cur_page+1)}">NEXT &rsaquo;</a><!--@end-->
                <!--@if($page_navigation->cur_page<$page_navigation->total_page)--><a class="direction" href="{getUrl('page',$page_navigation->total_page)}">END &rsaquo;</a><!--@end-->
			</div>
            <!--@end-->
			<div class="pxeH pxeNewsH">
				<h2><em>{$lang->all_projects}</em> {$lang->news}</h2>
			</div>
            <!--@if($news_page_navigation->total_count == 0)-->
			<div class="pxeNews pxeNoData">
				<p>{$lang->no_project_news}</p>
			</div>
            <!--@else-->
			<dl class="pxeNews">
				<!--@foreach($news_list as $news)-->
				<!--@if($news->type == "d")-->
				<dt><a href="{getSiteUrl($projects[$news->site_srl]->domain, '', 'document_srl', $news->item->document_srl)}"><em>[{$projects[$news->site_srl]->title}]</em> {$news->item->title}</a></dt>
				<dd class="description">{cut_str(strip_tags($news->item->content), 800, '...') }</dd>
				<dd class="meta"><em>{$modules[$news->item->module_srl]}</em> <span class="time">{zdate($news->regdate, "Y.m.d")}</span> <span class="author">{$news->item->nick_name}</span></dd>
				<!--@elseif($news->type == "c")-->
				<dt><a href="{getSiteUrl($projects[$news->site_srl]->domain, '', 'document_srl', $news->item->document_srl)}#comment_{$news->item->comment_srl}"><em>[{$projects[$news->site_srl]->title}]</em> {$news->item->title}</a></dt>
				<dd class="description reply">{cut_str(strip_tags($news->item->content), 800, '...') }</dd>
				<dd class="meta"><em>{$modules[$news->item->module_srl]}</em> <span class="time">{zdate($news->regdate, "Y.m.d")}</span> <span class="author">{$news->item->nick_name}</span></dd>
				<!--@elseif($news->type == "D")-->
				<dt><a href="{getSiteUrl($projects[$news->site_srl]->domain, '', 'act', 'dispIssuetrackerDownload', 'release_srl', $news->target_srl)}"><em>[{$projects[$news->site_srl]->title}]</em> {$news->item->package_title} - {$news->item->title}</a>
					<a href="{getSiteUrl($projects[$news->site_srl]->domain, '', 'act', 'dispIssuetrackerDownload', 'release_srl', $news->target_srl)}" class="download"><span class="alt">다운로드</span></a></dt>
				<dd class="description">{$news->item->release_note}</dd>
				<dd class="meta"><em>Download</em> <span class="time">{zdate($news->regdate, "Y.m.d")}</span> </dd>
				<!--@elseif($news->type == "s")-->
				<dt><a href="{getSiteUrl($projects[$news->site_srl]->domain)}"><em>[{$projects[$news->site_srl]->title}]</em></a> r{$news->item->revision}</dt>
				<dd class="description">{$news->item->message}</dd>
				<dd class="meta"><em>Commit</em> <span class="time">{zdate($news->regdate, "Y.m.d")}</span> <span class="author">{$news->item->author}</span></dd>
				<!--@end-->
				<!--@end-->
			</dl>
            <!--@end-->
            <!--@if($news_page_navigation)-->
			<div class="pagination">
                <!--@if($news_page_navigation->cur_news_page>1)--><a class="direction" href="{getUrl('news_page',$news_page_navigation->cur_news_page-1)}">&lsaquo; PREV</a><!--@end-->
                <!--@while($news_page_no = $news_page_navigation->getNextPage())-->
                    <!--@if($news_page == $news_page_no)-->
                    <strong>{$news_page_no}</strong>
                    <!--@else-->
                    <a href="{getUrl('news_page',$news_page_no,'document_srl','','division',$division,'last_division',$last_division)}">{$news_page_no}</a>
                <!--@end-->
                <!--@end-->
                <!--@if($news_page_navigation->cur_news_page<$news_page_navigation->total_news_page)--><a class="direction" href="{getUrl('news_page',$news_page_navigation->cur_news_page+1)}">NEXT &rsaquo;</a><!--@end-->
			</div>
            <!--@end-->
		</div>
		<!-- .pxeAside -->
		<div class="pxeAside">
			<span class="creation"><a href="{getUrl('act','dispProjectCreateProject')}"><em>{$lang->new_project}</em> {$lang->create}</a></span>
			<div class="listSection uList">
				<h2>{$lang->newest_project}</h2>
				<!--@if(!$recent_project_list)-->
				<div class="pxeNoData" style="border: 0">
					<p>{$lang->no_newest_project}</p>
				</div>
				<!--@else-->
				<ul>
					<!--@foreach($recent_project_list as $project)-->
					<li> <a href="{getSiteUrl($project->domain)}">{$project->project_title}</a> <span class="time">{zdate($project->regdate, "Y.m.d")}</span></li>
					<!--@end-->
				</ul>
				<!--@end-->
				<a href="{getUrl('act','dispProjectSearch','page','','sort_order','regdate')}" class="more"><span>&rsaquo;</span>{$lang->more}</a>
			</div>
			<div class="listSection oList">
				<h2>{$lang->weekly_download}</h2>
				<!--@if(!$popular_downloads)-->
				<div class="pxeNoData" style="border: 0">
					<p>{$lang->no_relative_info}</p>
				</div>
				<!--@else-->
				<ol>
					{@ $rank = 1; }
					<!--@foreach($popular_downloads as $release)-->
					<li <!--@if($rank<=3)-->class="best"<!--@end--> ><span class="ranking">{$rank}</span><a href="{getSiteUrl($release->item->domain, 'mid','issuetracker','act','dispIssuetrackerDownload','release_srl',$release->item->release_srl)}">{$release->item->package_title} - {$release->item->title}</a><span class="num">{$release->sum}</span></li>
					{@ $rank += 1; }
					<!--@end-->
				</ol>
				<!--@end-->
				<a href="{getUrl('act','dispProjectDownloadSearch','page','')}" class="more"><span>&rsaquo;</span>{$lang->more}</a>
			</div>
		</div>
		<!-- /.pxeAside -->
	</div>
	<!-- /.pxeBody -->
</div>
